package com.grao.waterschool.human.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grao.waterschool.human.entiry.dto.GetCourseHistory;
import com.grao.waterschool.human.entiry.po.SchoolCourseHistoryList;
import com.grao.waterschool.human.entiry.vo.AvgInfo;
import com.grao.waterschool.human.entiry.vo.CourseHistoryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchoolCourseHistoryListMapper extends BaseMapper<SchoolCourseHistoryList> {


    List<CourseHistoryVO> getCourseHistoryList(GetCourseHistory getCourseHistory);

    List<AvgInfo> selectAvgByCollege(@Param("list") List<String> college);

    String getCourseHistoryTimes(GetCourseHistory getCourseHistory);

    List<CourseHistoryVO> courseHistoryDetail(String kch);


//    List<SchoolCourseHistoryList> getCourseHistoryList(List<GetCourseHistory> getCourseHistory);
}
